﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace GameStudio.IDE.Common
{
    [Serializable]
    public class Project
    {
        [XmlAttribute("Location")]
        public string Path { get; set; }

        [XmlAttribute("ProjectName")]
        public string Name { get; set; }

        [XmlArray("Items")]
        [XmlArrayItem("Item")]
        public List<Item> Items { get; set; }


        [XmlElement("Settings")]
        public Settings Setting
        { get; set; }

        [XmlArray("References")]
        [XmlArrayItem("Reference")]
        public List<References> Reference
        { get; set; }

        public Project()
        {
            Setting = new Settings();
            Reference = new List<References>();
            Items = new List<Item>();
        }
    }
}
